﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
    margin-top: 1px">
    <tr>
        <td valign="middle" height="30">
            <font id="Font1" style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left;
                color: black; text-indent: 1em;" runat="server">设 置 用 户 </font>
        </td>
    </tr>
</table>
<table class="window_tab_list" cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
        <tr>
            <td height="30" width="100px" style="text-align:left">
                <img src="<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/arrowright.gif" align="absmiddle" />&nbsp;<a href="Role.aspx">角色列表</a>
            </td>
            <td style="text-align:left">
                登录名/姓名：<asp:TextBox ID="username" runat="server"></asp:TextBox>&nbsp;
                <asp:Button ID="search" runat="server" Text="查询" CssClass="button" />&nbsp;
                <asp:Button ID="saveset" runat="server" Text="保存设置" CssClass="button" /></td>
        </tr>
    </table>
    <table class="window_tab_list" cellpadding="0" cellspacing="0" border="0" width="100%" align="center"
        style="margin-top: 3px">
        <tr>
            <th colspan="3">
                <asp:Label ID="showedittext" runat="server" Text="设 置 用 户"></asp:Label></th>
        </tr>
        <tr>
            <td width="200" style="text-align: center;">
                登录名：</td>
            <td style="text-align: center;">
                姓名</td>
            <td width="150" style="text-align: center;">
                选择</td>
        </tr>
        <CBW:MPRepeater ID="MPRepeaterList" runat="server">
            <EmptyDataTemplate>
                <tr>
                    <td style="text-align: center;" colspan="3">
                        暂无数据！
                    </td>
                </tr>
            </EmptyDataTemplate>
            <ItemTemplate>
                <tr>
                    <td style="text-align: center;">
                        <%#Eval("loginid") %>
                    </td>
                    <td style="text-align: center;">
                        <%#Eval("name") %>
                    </td>
                    <td style="text-align: center;">
                        <asp:Label ID="idtib" runat="server" Text='<%#Eval("id") %>' Visible="false"></asp:Label>
                        <asp:CheckBox ID="checkselect" runat="server" Checked='<%#!(Eval("isexist").ToString()=="0") %>' />
                    </td>
                </tr>
            </ItemTemplate>
        </CBW:MPRepeater>
    </table>
